package com.weepal.pavement.mqtt.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weepal.pavement.mqtt.demo.vo.MqttDevices;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface MqttDevicesMapper extends BaseMapper<MqttDevices> {
    List<MqttDevices> getList(Map<String,Object> map);

    int up(@Param("sql") String sql);
}
